<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<script>
		
	</script>
</h:head>
<h:body>

	<h:form id="formAltDes">
		<div style="margin-top: 15px;">
			<h:panelGrid columns="2" style="font-size: 13px;">

				<h:outputLabel value="#{message.label_destino}"
					styleClass="LabelFont" style="margin-left:30px;" />

				<p:selectOneMenu
					value="#{gerenciaChamadoTela.tipoProblema.destinoChamado}"
					effect="fade" style="font-size: 13px;"
					valueChangeListener="#{chamadoTela.buscaTipoProblemas}"
					immediate="true">
					<f:selectItem itemLabel="" itemValue="0" />
					<f:selectItems value="#{chamadoTela.destinoChamados}" var="destino"
						itemLabel="#{destino}" itemValue="#{destino}"
						style="font-size: 13px;" />
					<p:ajax update="idTpPApro" process="@form" />
				</p:selectOneMenu>
				<h:outputLabel value="#{message.label_assunto}"
					styleClass="LabelFont" style="margin-left:30px;" />

				<p:selectOneMenu id="idTpPApro"
					value="#{gerenciaChamadoTela.tipoProblema.codigo}" effect="fade"
					style="font-size: 13px;">
					<f:selectItem itemLabel="" itemValue="0" />
					<f:selectItems value="#{chamadoTela.tipoProblemas}" var="tipo"
						itemLabel="#{tipo.descricao}" itemValue="#{tipo.codigo}"
						style="font-size: 13px;" />
					<p:ajax />
				</p:selectOneMenu>
			</h:panelGrid>
			<div class=".ym-grid">
				<div class=".ym-gl" style="margin-top: 15px;">
					<h:outputLabel value="#{message.label_comentario}"
						styleClass="LabelFont" />
					<br />
					<p:editor widgetVar="editorDes" lazy="true" id="editaAltDes"
						value="#{gerenciaChamadoTela.chamado.descricao}" width="500" />
				</div>
			</div>
			<div
				style="left: 50%; width: 300px; margin-left: -170px; position: relative; margin-top: 50px;">
				<p:commandButton value="#{message.botao_concluir}"
					icon="ui-icon-disk"
					action="#{gerenciaChamadoTela.trocaDestinoChamado}"
					style="margin-right: 10px; margin-left: 65px; font-size: 14px;"
					update=":messages,:formChNApro:idTChNAp,formAltDes,:formChIni"
					oncomplete="dlg15.hide()" />
				<p:commandButton value="#{message.botao_cancelar}" immediate="true"
					icon="ui-icon-close" style="font-size: 14px;"
					onclick="dlg15.hide()" />
			</div>
		</div>
	</h:form>
</h:body>
</html>